<!--
    THIS EXAMPLE WAS DOWNLOADED FROM https://echarts.apache.org/examples/zh/editor.html?c=line-simple
-->
<!DOCTYPE html>
<html style="height: 100%">

<head>
    <meta charset="utf-8">
</head>

<body style="height: 100%; margin: 0">
    <div id="container" class="m-line-1"></div>
    <div id="container-1" class="m-line-1"></div>
    <div id="container-2" class="m-line-1"></div>

    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5.2.2/dist/echarts.min.js"></script>
    <style type="text/css">
        .m-line-1 {
            height: 300px;
            width: 30%;
            float: left;
            /* margin-top: 10px;
          margin-right: 30px;
          margin-bottom: 30px;
          margin-left: 30px; */
            /* padding-top: 22px;
            padding-right: 20px;
            padding-bottom: 22px;
            padding-left: 20px; */
        }
    </style>


    <script type="text/javascript">
        var dom = document.getElementById("container");
        var myChart = echarts.init(dom);
        var dom_1 = document.getElementById("container-1");
        var myChart_1 = echarts.init(dom_1);
        var dom_2 = document.getElementById("container-2");
        var myChart_2 = echarts.init(dom_2);
        var app = {};

        var option;



        option = {
            xAxis: {
                type: 'category',
                data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun', ]
            },
            yAxis: {
                type: 'value',
                axisLabel: { //label文字设置 
                    // inside: true, //label文字朝内对齐 
                }
            },
            series: [{
                data: [150, 230, 224, 218, 135, 147, 260, 150, 230, 224, 218, 135, 147, 260, 150, 230, 224, 218, 135, 147, 260, 150, 230, 224, 218, 135, 147, 260, 150, 230, 224, 218, 135, 147, 260],
                type: 'line'
            }]
        };

        if (option && typeof option === 'object') {
            myChart.setOption(option);
            myChart_1.setOption(option);
            myChart_2.setOption(option);
        }
    </script>
</body>

</html>